SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e54a47a7c239aa9965b54e9f42a4f9d804d2491988a5b28d8fb02360f70c21d7' 
  AND token = 'sLLa0fEdC3duoMiZDFKV6hkYMvE30Wr22f3KxMJZ+UQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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