Since you will be doing a lot of searches by provider and uid, you may want to add an index to these.