select * from data where sn='1' and pq='ip' order by id desc limit 4
idsntspqvaluesystemts
29378640 1 ip 192.168.2.148 1576443847 Sun 15 12 2019 22:04:07
29378628 1 ip 192.168.2.148 1576443828 Sun 15 12 2019 22:03:48
29378623 1 ip 192.168.2.148 1576443826 Sun 15 12 2019 22:03:46
29378609 1 ip 192.168.2.148 1576443807 Sun 15 12 2019 22:03:27

Sun Dec 15 22:04:28 2019 by walley