SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e47ec299b31f18e064b908873595843dd8503cdcba8df2c2e121733d302da0e1' 
  AND token = '+unxTVl9KWtTUVABS/U1buk1hKtGhzaa09N8uhlvfl8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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