Changed orders_stats created_at to unix timestamp and added an index to it