Likely Origins
The full phrase is "cat that got the cream." Its origin is unclear but likely comes from cats' love of cream and cream's history as a luxury item.
Meaning
The cat symbolizes a lucky or privileged person, while "got the cream" means gaining something desirable.
The phrase may have emerged from folklore or simple observation of cats trying to access cream.