select * from sessions where ip='3.147.49.19' order by date_updated DESC limit 1 customers_id: Array ( [cid] => [atype] => [last_aid] => [bid] => 88 [tz] => )