There is no "optimal time", only optimal cost
To quote dev notes, "In general, the lower the cost to kill a creature, the higher the proportion of loot composition will be Optimal Loot. There is no inherent “kill timer” for each creature; Optimal Loot is calculated based on costs, not on time."