select * from data where sn='1' and pq='ts' order by id desc limit 4
idsntspqvaluesystemts
18877167 1 ts 1553490974 1553490974 Mon 25 03 2019 06:16:14
18869624 1 ts 1553477940 1553477940 Mon 25 03 2019 02:39:00
18816785 1 ts 1553387560 1553387560 Sun 24 03 2019 01:32:40
18715353 1 ts 1553214743 1553214743 Fri 22 03 2019 01:32:23

Mon Mar 25 07:21:48 2019 by walley