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