SELECT SQL_CALC_FOUND_ROWS inv.* FROM plugin_inventory_index AS inv WHERE (inv.inventory_type="used") ORDER BY inv.inventory_id ASC LIMIT 360,20