In fact any company that "requires" (explicitely or implicitely) employees to work more than 8-9 hours a day should be seen as a huge red flag IMO.
That said, it is currently reasonably easy to switch the job in our area.
In the longer run: build up some emergency funds; and always keep interviewing as a low intensity background activity, so you have offers before you need them.
By low intensity background activity I didn't mean that interviews are easy. I meant to suggest, interview at one company every quarter (or a similar rate).
(Though interviewing does get easier with practice. I usually batch up a lot of applications to different companies when I'm about to seriously look for a new job, and when I'm properly in gear, I breeze through those full day ordeals without too much loss of sanity. After all, there are only so many different technical interviews questions in common use amongst the companies.)