Remove duplicates based on two fields

I have a table that looks like this:
id / status_uuid / timestamp / json_data

I need to query and process in bulk (loop) only the newest (by timestamp) entries for each status_uuid. How do I get those or how do I dedupe to get rid of the rest?

Thanks

3 replies