You may be suffering from "The gay man's middle-age crisis" LOL...just kidding! but seriously you may be:
1) Looking in the wrong places
2) Attract the wrong kind of people
3) Or is simply missing the boat where most gay men tend to go these days!
In order to avoid or enhance the first I recommend you to join a social group or circle of friends that flows within the same line of your emotional maturity; in other words if you frequent the bar and nightclub scene, more then likely at your age you may not fit in with the majority of the riskier, immature, and much younger crowd.
The second is definitely the most important factor that you may be going through right now!? having said that either you haven realized it yet or you may still be in denial in that you are surrounded my the wrong kind of people? my friend as you mature in age experiences have this natural ability to transform our thoughts and priorities with unprecedented warning. Experiences are not just for fun but for learning too! as you get older your needs and levels of maturity changes, so why not open your heart a tad bit, and maybe you'll start seeing with much clarity the wrong kind of people that you may be attracting or not attracted to you?
The third reason might sound a bit cynical but it may be the most realistic of the three I have presented here; and probably the one that most gay men will agree on! as you know the younger age group have a huge preference following amongst most/but not all gay men. The older age group while not as much "preferred" they also have a huge following of gay men, who are either looking for a Sugar daddy or someone with more experience, so they say?
You my friend are in the prime of your life! you have nothing to worry about! I can see that youth is still visible right through the pores of your whole being! just sit back, relax, and continue your soul searching! I have the feeling you are heading in the right direction!
Psst: Not all matured men aren't just as there are younger guys that are!