SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0171dd919d5c9ba652ed09fc9b226081a199323be27be02059f767b70f55d638' 
  AND token = 'd9MH/BvsoK9jjtOjKYA3zPClkusC1XrFIDCHkMGOzM8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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