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