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