SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38f738111258188028f87602ced1b6f6735c094df288c30e95d476c51cce91ad' 
  AND token = 'WZLbswm3OWTpDwhs+MGhLYCxf88U3nGB4dfn2mu8k5w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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