Why don't you just cache it in memory? Send the query only once when the player connects. The fastest query is no query at all.
I'm almost done with my MySQL data layer, which I'll probably also release as a standalone code snippet/plugin. You might want to check that out when it's done.