Improve performance of finding issues with/without labels
The changes in this MR ultimately lead to finding issues with(out) labels being about 2x faster due to:
- Newly added indexes on
issues.state
andprojects.visibility_level
- Adjusting the query so that finding issues for multiple projects is more efficient