SELECT 
id,
title,
description,
agent_id,
state as "state: _",
time_created,
last_updated
FROM property
WHERE id = ANY($1)
ORDER BY time_created DESC
LIMIT 50