In MailWizz you have various export options which can help you do this.
If you want to do it directly from mysql, that's more difficult, we can't really help with that, you'll have to join from the subscriber table to these two tables and alias the field name as a column with its value.