Creates a new QueryRef instance.
The QueryKey for the Query.
The Marker specified in QueryClient.getQuery.
The Query to create a reference.