Improve fetch component query, use hash which is indexed in db.
Merge pull request #213 from shouze/perf-retrieve-component-with-index perf: retrieve component by using indexed column
Merge pull request #213 from shouze/perf-retrieve-component-with-index perf: retrieve component by using indexed column