select ip based on ip-ua-uid relationship based on a set of data