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