Some forms of writeable disc media don't use dyes and can last for over 100 years. Check out the link.
But, to your point, one of the variables that affect longevity is the quality of the manufacturing. If you're buying the least expensive media you can find, then the lifespan is indeed shorter. For my cheapo CD-Rs, I've found that they last 5-10 years. You can also make them last longer by storing them in better conditions (vertically, not laying flat, in an airtight container in the freezer).
I tend to go with cheap media, so my personal habit is to burn new copies of my storage discs every 5 years.