R1 limit current for diode, you can see in datasheet data.
You dont need to use optocoupler for relay you can use circuits I give you in post #8
Just use NPN or NPN darlington or you can use MOSFet if you want.
Yes, there is 5V 220V but with limited current usually 1A-2A. For often switching and motor use disent relay.
When buying relay always look resistance of relay coil to be higher, later in usage you will have smaller current consuption in circuit.
You can see this web site to expand your knowledge, specially look section about relays
200 Transistors Circuits
http://talkingelectronics.com/projects/200TrCcts/200TrCcts.html
12v RELAY ON 6V SUPPLY
This circuit allows a 12v relay to operate on a 6v or 9v supply. Most 12v relays need about 12v to "pull-in" but will "hold" on about 6v. The 220u charges via the 2k2 and bottom diode. When an input above 1.5v is applied to the input of the circuit, both transistors are turned ON and the 5v across the electrolytic causes the negative end of the electro to go below the 0v rail by about 4.5v and this puts about 10v across the relay.
Alternatively you can rewind a 12v relay by removing about half the turns.
Join up what is left to the terminals. Replace the turns you took off, by connecting them in parallel with the original half, making sure the turns go the same way around