SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}Berg{01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}' OR prCity = 'Berg' OR prZip = 'Berg' OR prStreet LIKE '{01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}Berg{01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}' OR prCountry = 'Berg') AND (prLocation LIKE '{01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}(Pfalz){01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}' OR prCity = '(Pfalz)' OR prZip = '(Pfalz)' OR prStreet LIKE '{01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}(Pfalz){01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}' OR prCountry = '(Pfalz)') AND (prLocation LIKE '{01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}Germany{01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}Germany{01e5c6e7117e148a95104f088c1748e8b5a1b9184633ef47ac9627de002607ff}' OR prCountry = 'Germany')