SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20d7749bd987b6599d1edb85577bc69f3ea6bf55867110df93193a59cc9f7696' 
  AND token = '7fyd4ToGsRiteCMhKqSTy89FGuU4qdjjU27giJmYsI8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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