Prefetch query status - TanStack