PFQuery returning result that is used to make another selection

Hi Community! I have a two stages query; from PFUser return an object based on a specific email and after query another class based on the returned ObjectId returned from PFUser; what is the best way to do it? Currently I am chaining the two queries that increase the time on the background thread

You can use whereKey:matchesKey:inQuery.