EE: SQL performance improvements for ProjectsController#show
This is the EE version of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14226 with the merge conflicts resolved.
This is the EE version of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14226 with the merge conflicts resolved.