If your willing to move and work for cheap it's easy to find work post 40. IMO, the goal should be to minimize expenses and eliminate debt so you get flexibility. The added bonus is it makes the required nest egg for retirement vastly easier to obtain.
Don't take this the wrong way, a high salary is a good goal but not always an option. I know several people that had very long stretches of unemployment which did great harm to their finances and career. The core problem is your skills may not always be with what you made at your last job.
That does not mean you should avoid getting paid what your worth, just recognize some times a lower salary now can be very much worth it if you bridge from low demand but high pay skill X to the next high paying skill set.