The first thing you should do is define what you consder the “correct” album art. So what would you prefer? E.g. I personally would go for the first released album that contained that recording. And if there is no album, I would fall back to a single, and if there is no single I would fall back to a live album etc.
But you could as well say you prefer the single over an album, and only use the album if there is no single (with cover art).
When you now what you want you should also include the release-group info in your recording query:
Then you can go through the list of releases and select and sort the ones you care about. E.g. a studio album would be primary type “Album”, secondary type is empty. A live album is primary type “Album”, secondary type “Live”. There are also primary types “Single” and “EP”.