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