SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}Menden{5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}' OR prCity = 'Menden' OR prZip = 'Menden' OR prStreet LIKE '{5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}Menden{5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}' OR prCountry = 'Menden') AND (prLocation LIKE '{5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}(Sauerland){5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}' OR prCity = '(Sauerland)' OR prZip = '(Sauerland)' OR prStreet LIKE '{5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}(Sauerland){5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}' OR prCountry = '(Sauerland)') AND (prLocation LIKE '{5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}Germany{5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}Germany{5d523af2099c9247fb9935d28e4b3d589c9d78f68f47debcfd5d15c25116336d}' OR prCountry = 'Germany')