SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5180fc3bfea768a9b4be74fc4c9ba416c9dc3f9077c71df5b2a4a79688a0a4a' 
  AND token = 'hbJdHrzyMfqfd/k9plBz3AzsGz+U4QHmCpLgJzUWyns=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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