Regardless of the time of day you decide to fly, the ticket price will remain around the same. Book flights from Koh Samui to Dublin as you normally would.
USM stands for Ko Samui Airport, while DUB stands for Dublin Airport. These codes are often called IATA codes, a set of identifiers established by IATA (International Air Transport Association) that is widely used by airlines and the aviation industry.