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