SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e2009cdf4330e13f0e41ada09119ec2b0f350a8fdd128ecf4d444328cd750f9e' 
  AND token = 'wTUNJ6RrTsYYhZJpF9Biv1AnrT/FYCu5d2WT81DIpH0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00068

JSON explain

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