SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{a396b8c99d87ef480f50f729baf20e9a926de6bc211294d81ee058c14637ab9f}Pirna{a396b8c99d87ef480f50f729baf20e9a926de6bc211294d81ee058c14637ab9f}' OR prCity = 'Pirna' OR prZip = 'Pirna' OR prStreet LIKE '{a396b8c99d87ef480f50f729baf20e9a926de6bc211294d81ee058c14637ab9f}Pirna{a396b8c99d87ef480f50f729baf20e9a926de6bc211294d81ee058c14637ab9f}' OR prCountry = 'Pirna') AND (prLocation LIKE '{a396b8c99d87ef480f50f729baf20e9a926de6bc211294d81ee058c14637ab9f}Germany{a396b8c99d87ef480f50f729baf20e9a926de6bc211294d81ee058c14637ab9f}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{a396b8c99d87ef480f50f729baf20e9a926de6bc211294d81ee058c14637ab9f}Germany{a396b8c99d87ef480f50f729baf20e9a926de6bc211294d81ee058c14637ab9f}' OR prCountry = 'Germany')