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