It's usually a 2 hours drive from Kuta region to Ulun Beratan temple. If you leave at 8am you will reach there around 10am. You can spend 1 hour at the temple till 11am and leave for Selfie Park which is 15-20 minutes from the temple. There you can spend another 1 hour from 11.30am to 12.30 pm at the selfie park & leave back for Kuta where you might reach around 2.30 pm. Explained keeping a 30 minute buffer period for you in case you need more time at any of the places.
Do upvote if you found this helpful.