Dragon Mastery is unlocked at level 7.

Tap the book icon on the top right of your screen to open your Dragon Book and then tap the 'Mastery' tab on the left.

Here you can complete specific goals to earn rewards as well as more Master Points to increase your Leaderboard Ranking.