I think you're probably fine, as long as the cartridges are stored properly (and who knows?) and it's still in its hermetically sealed bag. Toner can settle. The manufacturers taught us to roll the cartridge on both axes before talking it out of the bag and installing. This also works to get that "last 100 pages" out of the cartridge.
Consider there is more to an HP laser toner cartridge than dust. Inside the cartridge are rubber-like fuser rollers, gears, and sensors.
All things being equal, I wouldn't buy it. But if you have one and want to know if it works, there's no harm in trying it out. Canon made this design such that the cartridge contains nearly everything that has to be replaced.