add index for civicrm_activity_contact