"Great Googly Moogly" is an internet meme, not a line from Seinfeld.
However, Jerry does say "Good Golly Miss Molly!" in the episode "The Serenity Now" (Season 9, Episode 17), which may be the source of the confusion.