Report question

Question: How to validate expiry date on MySQL query