Added index support for MySQL

- Added index support for MySQL
- Removed wasteful indexing from the 'value' column