ALM-167 added MySQL indexes and query optimizations to speed up admin dashboard