Andy Murray earned his second win of 2024 and his 500th career hard court victory in round one of ATP Dubai.