SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '840c3ece04a5c808e911c07787d966a07bad5a4543f8a857569573175728178a' 
  AND token = 'Lh8w3KJgng2ApNKj7YQv95AurI8OsS6AIESRakzEUZ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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