Improve "prescale_rasters" query to reduce function calls

Calls ST_ScaleX and ST_ScaleY once per raster rather than twice