DNN-4295 Optimize Indexes on Table Modules