SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{05e42e88117f7166bb7f3912da4f7f7bcac1ac73804c6a48569b4986094ec1f0}Wegberg{05e42e88117f7166bb7f3912da4f7f7bcac1ac73804c6a48569b4986094ec1f0}' OR prCity = 'Wegberg' OR prZip = 'Wegberg' OR prStreet LIKE '{05e42e88117f7166bb7f3912da4f7f7bcac1ac73804c6a48569b4986094ec1f0}Wegberg{05e42e88117f7166bb7f3912da4f7f7bcac1ac73804c6a48569b4986094ec1f0}' OR prCountry = 'Wegberg') AND (prLocation LIKE '{05e42e88117f7166bb7f3912da4f7f7bcac1ac73804c6a48569b4986094ec1f0}Germany{05e42e88117f7166bb7f3912da4f7f7bcac1ac73804c6a48569b4986094ec1f0}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{05e42e88117f7166bb7f3912da4f7f7bcac1ac73804c6a48569b4986094ec1f0}Germany{05e42e88117f7166bb7f3912da4f7f7bcac1ac73804c6a48569b4986094ec1f0}' OR prCountry = 'Germany')