my $sql = <<'SQL'; SELECT COUNT(*) FROM Person WHERE Account_idAccount = 35 AND JSON_EXISTS(custom, '$.test3') SQL ...