This looks like a good use case for ScyllaDB with Compression and TTL. It is pretty simple to setup a single-node instance.
If you rather have something in-process and writes to disk, to avoid extra infrastructure, I would also recommend RocksDB with Compression and TTL.