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