SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51d8866c7b65379136b071a7f3aad928c7a45ea5e8a768888d389edbcf85087d' 
  AND token = 'INsmXsasdoTiP1pCOkiJ8wz/hLXgEPKAEADz0vC4WT4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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