<dtml-comment>
title:
connection_id:cmf_activity_sql_connection
max_rows:0
max_cache:0
cache_time:0
class_name:
class_file:
</dtml-comment>
<params>
</params>
SELECT MIN(`priority`) AS `priority` FROM
  message_queue
WHERE
  processing_node = 0
  AND date <= UTC_TIMESTAMP()

