The time to look for a new job is when you don't need one. The time to switch jobs is before it feels comfortable.
Seth Godin (2007). “The Dip: A Little Book That Teaches You When to Quit (and When to Stick)”, p.56, Penguin