There is no Yogi Bear song containing those lyrics. Yogi Bear music is family‑friendly (e.g., "Yogi Bear Theme", "The Bear Band"). The phrase appears to be a fabricated mash‑up with inappropriate content.
If you recall a different novelty song, share more lyrics for identification.