SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '050e7e0853cbea61408bdf90451fce9719f46efe1db6a32e013cfa5309c58d3c' 
  AND token = '8eMLlaW/+tNYiiem/EyuhjTM8STxjpDF0QbYsP2dSjE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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