SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}Bielefeld{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}' OR prCity = 'Bielefeld' OR prZip = 'Bielefeld' OR prStreet LIKE '{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}Bielefeld{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}' OR prCountry = 'Bielefeld') AND (prLocation LIKE '{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}/{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}/{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}' OR prCountry = '/') AND (prLocation LIKE '{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}Brake{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}' OR prCity = 'Brake' OR prZip = 'Brake' OR prStreet LIKE '{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}Brake{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}' OR prCountry = 'Brake') AND (prLocation LIKE '{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}Germany{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}Germany{499fc391e5391901e021efb6f7b95614397f3459d72c45891a03fdb6149f9ef4}' OR prCountry = 'Germany')