I do not believe that this first group would be the right fit for you.
However, there are some developers that are worth their weight in gold. In my opinion, age does not even come up in such discussions. These people are usually very good at one thing.
The thing that you want to be good at could be something current like Node.js (which will eventually become an old technology), or it could be something timeless - like 'shipping'.
My suggestion, try to be the person who has shipped multiple products. Think of the smallest products that you can build, then try to remove 99% of the features, while still keep them useful, and build them.
If you have a couple such products under your belt, I doubt that you will ever be job hunting.