QUERY PLAN
Sort (cost=183.90..185.04 rows=456 width=44)
Sort Key: pinyin_shortcut, created_at DESC
-> Seq Scan on tbl_contacts (cost=0.00..163.76 rows=456 width=44)
Filter: (((name)::text ~~* '%g%'::text) OR (pinyin_shortcut ~~* '%g%'::text))