It's impossible to be sure, but since it seems consciousness follows a spectrum when it comes to living beings, with more complex beings having "more" consciousness and less complex beings having less, my guess is that all living things have some form of consciousness, including plants and insects.
As soon as anything "prefers" any stimulus over another, I think consciousness becomes an emergent property.