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