* Adds indexes on message tables which partly fixes #11725 * Adds indexes on for other specific DB languages, which fixes #11725