SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b337741040241a088b466477ba94eb8cd7c67158944b4aad0b89431e9cd5b04d' 
  AND token = 'enNdgmIlEQTQrXCVyazjnZvr/dSnsl3q5s4/GlB2B1s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}