INSERT INTO status_records (service_id, status, timestamp)
SELECT * FROM UNNEST($1::int[], $2::int[], $3::timestamptz[]);