SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecd4255590fcae6d262e5c95492bec621bcc082a8e0a7a34f34817446d16c818' 
  AND token = 'L2srGKvG8/d7kXNfTGuay9pg2QXa8B59bLeSAEi7o8o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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