To be honest, I do this when I have a crush on someone... I don't pray for them to love me or to like me back, I pray for them to be happy with whoever they end up with (even if its not me) and for god to help me be content with my current circumstances.
You may not see the reason at the exact time, but some day you will. And looking back I thank God every day for unanswered prayers!! If I was in control of my life I would be stuck somewhere with someone and miserable. When you're finally in the right place and with the right person everything finally makes sense and you realize you should have been more trusting all along ;)
Sad others can't see and only care about themselves. Sometimes when we are working towards our future and trying to do things the right way, others may not understand but that's ok. It's not for them to understand. Have faith and God will show you the way. He has a plan!