Add indices to improve loading of labels page
The labels page counts open issues and merge requests for each label in the project and group. EXPLAIN ANALYZE shows that these queries would benefit from indices on the title and the project ID.
0560b7a2 introduced an index on title, but 074c9649 removed this performance optimization.
Closes #25413 (closed)