SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4168464a17b39a949951ca5b4827cfdb4daa9d4003a0bf59af57671e0a1befff' 
  AND token = '0naUeZLnBDJxcmSslqHBJnLIMn3Q+896a8OMRwPBxw8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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