As Steffen and Dave have said, one of the Backend as a Service providers might be up your alley. Most if not all of these platforms have fairly robust query systems so you shouldn't need to worry about sifting through extraneous information from the DB. I think Parse specifically walks through a use case exactly like the one you mentioned about pulling only x number of top scores from the DB.
If you absolutely need server-side code, StackMob allows for custom code hosting and I believe Kinvey is in beta for doing the same. I think StackMob only supports Java and Clojure for server code though, if that matters.
There's always a trade off between flexibility and ease of use, but depending on how much control you need over your data, these services can save you a lot of time without really degrading your app's functionality.