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