Extract one specific line with AWK
awk 'NR==40550{print;exit}' <file>
Extract line 40550 to 40601:
sed '40602q;40550,40601!d' <file>
awk 'NR==40550,NR==40601' <file>
Extract line 60451 and 68451:
sed -n '68452q;60451p;68451p' <file>
awk 'FNR==60451 || FNR==68451 {print}; FNR==68452 {exit}' <file>
Much faster than sed!