It takes normally 3.5 hours from Dubai to Khasab including the border processing time. Make sure you leave enough early to reach the give location to catch the dhow. If it is special event like UAE holiday make sure to leave early as the border will be crowded