SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{91170613abdf435830f4e7b0bd6896da03a71e955595b5337ad8e7c7f507d6c4}Ornontowice{91170613abdf435830f4e7b0bd6896da03a71e955595b5337ad8e7c7f507d6c4}' OR prCity = 'Ornontowice' OR prZip = 'Ornontowice' OR prStreet LIKE '{91170613abdf435830f4e7b0bd6896da03a71e955595b5337ad8e7c7f507d6c4}Ornontowice{91170613abdf435830f4e7b0bd6896da03a71e955595b5337ad8e7c7f507d6c4}' OR prCountry = 'Ornontowice') AND (prLocation LIKE '{91170613abdf435830f4e7b0bd6896da03a71e955595b5337ad8e7c7f507d6c4}Poland{91170613abdf435830f4e7b0bd6896da03a71e955595b5337ad8e7c7f507d6c4}' OR prCity = 'Poland' OR prZip = 'Poland' OR prStreet LIKE '{91170613abdf435830f4e7b0bd6896da03a71e955595b5337ad8e7c7f507d6c4}Poland{91170613abdf435830f4e7b0bd6896da03a71e955595b5337ad8e7c7f507d6c4}' OR prCountry = 'Poland')