This solves ENG-812: Improve perf of website load. By limiting the amount of messages that MySQL has to look at in order to resolve fetchMessageInfos, we speed up website load significantly.
On my local environment using the prod database, the query resolves in 0.5s instead of 20s.
Depends On D3348