SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '32ac871fcb86cee15912c929b750da2661566e807a6475f1ab229674db51114a' 
  AND token = 'mWVfmzr1X6pqfNgYhpes84lNtkosMI3nUKidSsXDfGI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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