There's no single right answer to this question, you need to choose a solution based on your use case.
For example, if you are sending conversion events for multiple items in the cart and the items correspond to different queryIDs, you can either:
A. choose to send multiple events as a result, which will log each relevant query, or
B. send a single event and choose which queryID to send. The one you choose to send is up to you.