SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d4d481fd9e8a81529c21bac4b183dadb324fef19bf0982ad41bbe112d85c6935}Tibi{d4d481fd9e8a81529c21bac4b183dadb324fef19bf0982ad41bbe112d85c6935}' OR prCity = 'Tibi' OR prZip = 'Tibi' OR prStreet LIKE '{d4d481fd9e8a81529c21bac4b183dadb324fef19bf0982ad41bbe112d85c6935}Tibi{d4d481fd9e8a81529c21bac4b183dadb324fef19bf0982ad41bbe112d85c6935}' OR prCountry = 'Tibi') AND (prLocation LIKE '{d4d481fd9e8a81529c21bac4b183dadb324fef19bf0982ad41bbe112d85c6935}Spain{d4d481fd9e8a81529c21bac4b183dadb324fef19bf0982ad41bbe112d85c6935}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{d4d481fd9e8a81529c21bac4b183dadb324fef19bf0982ad41bbe112d85c6935}Spain{d4d481fd9e8a81529c21bac4b183dadb324fef19bf0982ad41bbe112d85c6935}' OR prCountry = 'Spain')