Now, I really don't need to work but sitting around doing nothing gets boring and there is always something to buy that one wants, so I went back to work, but this time in a slightly different way. These days, companies provide a nice $3000 stereo microscope and fixing tiny boards from a cell phone is just as easy as ever even for old eyes. I use the skills that I have always used in electronics just on smaller stuff and have the advantage of knowing how best to do things because I have done thousands of such repairs.
Lately, I work on several contracts. One person wants one device designed and built (one of a kind) and another wants a cheap source of some other repair or manufacture. Together, they all keep me employed and there is not that much stress nor demand of my time.
There is an old saying, "If I knew then what I know now..." well I DO know now and you who are 40 are still "then" so what I advise is forget the search for a job and go out and create your own job. Use that abundance of skill and knowledge that companies are not willing to pay for any longer and apply it to your own business. Compete with them directly if you need to. Employ yourself. It is easier than you think.
You may not make millions but you aren't making millions now, are you? Even a small business will easily support one or two people and it can be started up and be profitable in as little as a month. If you don't know anything about bookkeeping - hire a temp (how about that for an idea?) same goes for programming your new widget or coming up with an advertising scheme or even writing a business plan for those larger entrepreneurial adventures.
(soapbox mode off)