SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf6a6d02747f024f8e3a1f07f17947767d7b287d8cf46e17d0cc06977b12e23f' 
  AND token = 'n7jYZRKhReISBgFBVoyk0o7sl3hJn2q1jV/f9jyzcn8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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