Using MySQL to calculate months since first order instead of date_diff, which is only available in PHP 5.3+