Headphones are inconvenient as fuck for me, but earbuds don't really have useful noise cancelling at all. Bose QC has amazing noise cancelling, I wish I still had my Bose QC 35 II, they would be very nice right now...
For earbuds I'd definitely say get either Sennheiser Momentum True Wireless 3, Oppo Enco X2, Samsung Buds 2 (or 2 Pro), or AKG N400NC (if you're willing to EQ).
For headphones definitely buy used. You'll end up paying way less for the same quality. Idk about for earbuds though.