SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1e1d190ff0e10d108d0342194aae8902ef025d088c5b670d2c170293dd7ef919' 
  AND token = '30JzU4/N4OmpsJAR/LzHBWCiwYCQx7dJ6SWnPee5um0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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