SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd17f8e592419daedf6dee56e09aa172b1ad9634a022e4cd0afd233a00fa8539c' 
  AND token = 'IlzOn2VbheGeYxBousBfNjmCym1euTAuY2aP/mbtMaY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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