The best time to interview is precisely when you're happy with your job.
You have zero pressure, you can practice interviewing, network and you can make extravagant requirements. If it doesn't work out, no big deal, you like where you are. But if it does, your career can make quantum leaps.