SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}Aachen{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}' OR prCity = 'Aachen' OR prZip = 'Aachen' OR prStreet LIKE '{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}Aachen{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}' OR prCountry = 'Aachen') AND (prLocation LIKE '{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}/{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}/{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}' OR prCountry = '/') AND (prLocation LIKE '{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}Schleckheim{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}' OR prCity = 'Schleckheim' OR prZip = 'Schleckheim' OR prStreet LIKE '{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}Schleckheim{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}' OR prCountry = 'Schleckheim') AND (prLocation LIKE '{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}Germany{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}Germany{837ef06a29618536d2e0090c68d3d30963ccd7ab4c56dda0244eecfa81e4f9d6}' OR prCountry = 'Germany')