Improve performance of querying alert assignees - attempt 2 See merge request gitlab-org/gitlab!34228