The Cypriot tax agreement in available on line.Why not look it up and then you will know for sure.
AFAIK, 5% is for pensioners only. I gather some individuals have "retired" to Cyprus in the past, but worked for another company on the quiet, only paying income tax on their earned income. Sounds dodgy to me.