MySQL: add indexes to network model