Create index on name and time