profile art_bi_md5, postgresql query is fast(<1ms), but this func is slow(200+ms)