SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1896f1d1222f0f4a0adc95f51571a1db99f568321ed4ab250c579c812445a417' 
  AND token = 'jvA16WpzUMlgxQiyVsIjtTnsCBlBcBuyQeaa7nVuDmA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}