I see 10 years of experience as a valuable thing, you've been around long enough to see a lot of mistakes and know to avoid them. 10 years in one place isn't- you're likely stuck in your ways. The fact that you were willing to do the same job for 10 years shows a lack of ambition or mental curiosity in other realms in the field of programming.
In fact your post proves me right. "Stable job" "all the way to retirement". You're looking for safe over interesting, over doing something worthwhile. Those aren't the types of companies I would even interview at, and not the type of programmer I'd hire. You're even looking at it in terms of doing it for a salary increase- my last job change was a pay cut to go to a startup. Not because I expect to become rich (I know that at best I'll break even), but because its more interesting, more fun, an idea that could really make things better, and I have more leeway to do things how I want and define how this company runs. You might be technically competent, but unlikely to be a culture fit.
And ignoring the culture fit part- most people I know who want safety that much require it because they're average to below average and don't want to risk being on the job market, and depend on institutional knowledge to be useful. There's a few exceptions, but I'd say that goes for 80-90% of them. I wouldn't refuse to interview someone like that to see if they are the exception, but it would be a yellow flag and I'd need to be convinced otherwise in the interview to give them an offer.