There are a couple different code paths, but the path leading to the most queries is PBS (6 queries). It looks like everything that can be eager-loaded is already being eager-loaded.

We could reduce the number of times this is called by only checking eligibility when a screening event exists for a participant. This is also done in the `events_controller.rb` before checking eligibility, so maybe this is worth doing.