create index tid and usertype,update  query order