[OPENENGSB-3658] improved query interface performance