With Class::DBI, the setup is already done:
my ($film) = $nomination->search( year => 1965, type => 'Best Editing', takes_the_oscar => 1, );