SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8379a24aed1cf2a25b86ce6e34b9c39bc7c6ed4713c2e07016bed66092da2b1' 
  AND token = 'sNTvQlsUgOoo8SSVcyQNCem0rPGp2d4F9wNfx7WNBX8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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