SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'da513f13866397d7512739de46189fbfab09a347373f191cfbf6a602719835d3' 
  AND token = 'jMg5IjPYcm8idzaLDSSPvl36rtRDsyigIkp0OmJM4lc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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