Place it right after the grand plan is shown, then follow it with sudden suspense to hold the joke before the reaction lands. For a bigger payoff, add oh my god wow after the reveal, or pair it with wrong answer game show when the plan is clearly doomed.