Yes, it matters. It will depend on the specific model of Asus H110I that you have. Some H110I's use DDR3 and some use DDR4 RAM.
Go to the Asus web site and find the specifications page for the specific model. Scroll down to the memory section of the specifications page.
DDR3 RAM won't fit in DDR4 sockets and vice versa. SODIMM modules will not fit in DIMM sockets and vice versa. ECC RAM usually won't work in a non-ECC motherboard and vice versa. Registered DRAM won't work in an unbuffered motherboard and vice versa.
The speed matters somewhat. It doesn't make sense to buy DRAM rated for faster speeds than what your motherboard supports. You'll pay a higher price for the faster DRAM but you won't be able to use the higher speed.