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