This UPDATE statement repairs invalid votes that have been migrated from phpBB2 to phpBB3.
The invalid votes usually have a poll_option_id with value 127.
You need a backup of your old phpBB2 database (schema phpbb2) and your current phpBB3 database (schema phpbb3) for this to work.