localhost [127.0.0.1]

Query_time: 3.249581 Lock_time: 0.000032 Rows_sent: 1 Rows_examined: 1

SET timestamp=1528871421;
SELECT credit1 FROM ims_mc_members WHERE uid = '197217' LIMIT 1;

Time: 180613 14:34:41

User@Host: dd__cn[dd__cn] @ localhost [127.0.0.1]

Query_time: 10.723859 Lock_time: 0.000046 Rows_sent: 1 Rows_examined: 1036

SET timestamp=1528871681;
SELECT SUM(shouru_yongjin) as sum FROM ims_bsht_tbk_order WHERE uniacid = '221' AND shopid = '1039' AND UNIX_TIMESTAMP(ctime) >= '1528819200' AND UNIX_TIMESTAMP(ctime)