After investigation in T328997: Enable read new support in Special:CheckUser's 'Get users' mode it has been determined that using UNION queries is too expensive and three separate queries would be better for performance when a large number of results are selected.
Acceptance criteria
- Remove the CheckUserUnionQueryBuilder and related code that is only used by the query builder