Huh, why would using uuidv4 be a problem? Collisions?
I don't have a resource of the top of my head to present to you, but in the least keyset pagination is superior to the offset one because it does not get invalidated by new inserts.
You cursor on timestamps, or serial numbers, or etc., not IDs.