Iuri, what you need is to do a subselect. This is where you take the 2 queries and combine them, returning only the results you want. The method you mention will be extremely slow.
If on the other hand, you need to have the user select from a list (from the first query) and then return information based on what the user chooses, it is better to have them first choose the organization_ids , then go ahead and do the query with the organization_ids as a list.
Does that answer your question?