SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0186671b595387858ca22ffd80fe8bb64468f4868fd41331f9f5eb716c24d16d}Višnjan{0186671b595387858ca22ffd80fe8bb64468f4868fd41331f9f5eb716c24d16d}' OR prCity = 'Višnjan' OR prZip = 'Višnjan' OR prStreet LIKE '{0186671b595387858ca22ffd80fe8bb64468f4868fd41331f9f5eb716c24d16d}Višnjan{0186671b595387858ca22ffd80fe8bb64468f4868fd41331f9f5eb716c24d16d}' OR prCountry = 'Višnjan') AND (prLocation LIKE '{0186671b595387858ca22ffd80fe8bb64468f4868fd41331f9f5eb716c24d16d}Croatia{0186671b595387858ca22ffd80fe8bb64468f4868fd41331f9f5eb716c24d16d}' OR prCity = 'Croatia' OR prZip = 'Croatia' OR prStreet LIKE '{0186671b595387858ca22ffd80fe8bb64468f4868fd41331f9f5eb716c24d16d}Croatia{0186671b595387858ca22ffd80fe8bb64468f4868fd41331f9f5eb716c24d16d}' OR prCountry = 'Croatia')