Make R2 higher in value, 1k is better, it will dissipate a little more power. R11 can be 1k, this reduces the current through the opto to be lower, making the LED last longer. Instead of the LED on the output, use a 10k resistor and a low current LED, as this is a low transfer ratio unit, so it will have at most a 500uA drive capacity. C5 can be 47uF, and add a VDR across the input, 275VAC will do. This will make the opto last longer.