Adds with_hints to tell MySQL to USE INDEX()

Someone take a look at this and tell me if it looks sane. :-/