If you don't fancy cracking it open, my best suggestion is use a vacuum cleaner with a brush attachment near the air vents.
I've suggested this before and the OCD sufferers go crazy as though I've just given someone direct instruction to blast 4 million volts through the circuitboards.
But in reality the chassis is earthed and this is nonsense, and causing damage is no more likely than the chance of causing damage by discharging your own body's static through it by picking it up.
I've done it for countless years with no issues on all my computers. Lucky? Only in so far as the chance of causing damage this way is so infinitesimally small that the odds are stacked massively in your favour.
Most advice round here is going to be 'take it to your local Apple store' or 'take it to your local Mac specialist' as though these are things sat on every street corner. I'm 100 miles, two train journeys, and two taxi rides away from any Apple store, and I couldn't name one local computer shop (most of which have long since closed) that would know how to even get inside an iMac, let alone service it.
Sometimes you've just got to make do with what resources are available. Like a vacuum cleaner.