Add index to logging infrastructure

Adding this index will improve performance of running reports

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/zencart/zc-v1-series/216)
<!-- Reviewable:end -->