Query time boost

Function could be created as final static