When you use NULL or NOT NULL on an indexed column, the optimizer typically chooses a full table scan instead of using the index. This is because NULL values are not stored in most B-tree indexes (except bitmap indexes), making the index ineffective for NULL searches.