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