Currently, the extensionquery endpoint is quite heavy as it does various DB accesses to retrieve information about extensions and their last version.
This is the main bottleneck for the application right now and we should optimize it such that information about extensions is cached to reduce DB access to only the stuff that is necessary.