Unraveling protein interaction networks with near-optimal efficiency