Instead of using:

FIELDS terminated by "," optionally enclosed by '"'
Try using a different terminator character (like '|') and code:

FIELDS terminated by '|'

And no 'quote problems.