SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f1ac0a07a79e5b0f0eb1162f8160ef34eaee5c452ac75765fb1ebd16715aaad6' 
  AND token = 'AE0y53ygsNw6FDztLstqsTz4MjEtxCDfHVlCgX+KBog=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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