PIM-2266: Optimize mass deletion (ORM implementation)

| Q                   | A
| ------------------- | ---
| Bug fix?            | N
| New feature?        | N
| BC breaks?          | Y
| Tests pass?         | ?
| Scenarios pass?     | ?
| Checkstyle issues?  |N
| Changelog updated?  | ?
| Fixed tickets       | PIM-2266
| Doc PR              |