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