Application query acceleration