Added SQL optimized for projects and trackers filters in Openers Metrics.