get_comment_meta() for a filter hook in a plugin

I found out that you need to use the $comment variable within your function which should then allow you to search the database properly.

Using the global variable scope you can select the main comment variable.

global $comment;

And to get the comment id, you can use:

global $comment;
echo $comment->comment_ID;