select * from data where sn='1' and pq='ip' order by id desc limit 4
idsntspqvaluesystemts
20702688 1 ip 192.168.2.148 1558463415 Tue 21 05 2019 20:30:15
20702677 1 ip 192.168.2.148 1558463396 Tue 21 05 2019 20:29:56
20702674 1 ip 192.168.2.148 1558463394 Tue 21 05 2019 20:29:54
20702664 1 ip 192.168.2.148 1558463375 Tue 21 05 2019 20:29:35

Tue May 21 20:30:24 2019 by walley