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