SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8e276dcb77a07a77328141e8c2ac1b9d598457977308b0a184f040c4893dd8d' 
  AND token = 'cnqbw0bIj3wT/q6SRRiJDEWZiEbny6YixWG3QmWho8g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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