1) Do not use == to compare strings, use strcmp
2) This is not how you index tables at all
%if you want all the columns for the matching rows:
newtable = lq(strcmp(lq.ip, '192.168.2.101') & strcmp(lq.neighbor, '192.168.2.102'), :)
%if you just want the timestamp column:
newtable = lq(strcmp(lq.ip, '192.168.2.101') & strcmp(lq.neighbor, '192.168.2.102'), lq.timestamp)