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