Very slow /unread endpoint call when switching channels

Opened a ticket for our team to take a look: [MM-39433] Performance issues reported on 6.0 - Mattermost