Use queryKeys of flush