SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bfb16ffc3f1bba062216aa2f74bd3a3723f0a9017f77eda2a740db5c8a71afc3' 
  AND token = 'Tb8wePnjczRdrsrUatRGbqp/MjcdIOtV8WPCU6Iql/Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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