Peformance:
- Add product flat table
- Rewrite sql