Imagine that it's your father's birthday. Look at the photographs and think which of these things you would buy him.
It is correct
I would buy a keyring.
You can also say that I would buy my father a keyring so he would always remember me when he used it.