I don't know anything here, but this seems like a good case for ahead of time compilation? Or at least caching your JIT results? I can image much of the time, you are getting more or less the same query again and again?
Really amazed to see not one but several generic JIT frameworks though, no idea that was a thing.