SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a259038c66934f487888fe3819c7608fcf9caf13fbce51c51be3bd1d4839efd8' 
  AND token = '1bNCNr9KTt+i98EHkTbH6lFrFaB/gxiUr7ynTVbNwiE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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