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