SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ee618716b09ba9e06dfdb0d34b4286410c1247b1e9637afc6bb490b91a768d0' 
  AND token = 'wJ2Q6ib+fEjmvrEXzpx4CedJCeTGYq78962UWXTeGHs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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