Add index to roleId and ip on instance table