There are several changes you can make to the Query Module file to improve query-related performance. The file is at:
install_location\OmniQ\config\QueryModule.default.xml