string(94) "active = 1 AND id IN (SELECT activity_id FROM activity_activitytype WHERE activity_id IN (35))"