Also, consider removing some of the unnecessary brackets:
`if ( '' === $coupon_data || null === $coupon_data || strtotime( $coupon_data['expiry'] ) < time() )`