I have a query please do comment which is best for SEO?

My site development almost done. But my dev setup this type of url on my site. www.example.in/product/5f60512560daa60c09af1c29

My query is that this beta link is generating every time unique.
Which one is better for SEO
Sample 1 - www.example.in/product/5f60512560daa60c09af1c29

Sample 2 - www.example.in/deal/nokia-media-streamer-154Gi6c8

Sample 2 is best. Even you should remove “-154Gi6c8” with a uniq number or a clear text like microtime