[WIP] Create the right indexes in MongoDB

| Q                    | A
| -------------------- | ---
| Bug fix?             | No
| New feature?         | No
| BC breaks?           | No
| CI currently passes? | 
| Tests pass?          |
| Scenarios pass?      |
| Checkstyle issues?   | No
| Changelog updated?   | 
| Fixed tickets        | N.A.
| Doc PR               | N.A.