Add an index on cell.modified to speed up cell export task.
reorder/group imports
Optimize cell export task and avoid datetime/unixtime conversions.
Remove unused columns argument from cell import functions.
Close database session early in export task.

This avoids timeout errors while uploading data to S3.
Close database session early in map tiles generation.