use SQL form index

NOTE: this still has performance issues for domains with large number of users