I assume you’re looping through your query the usual way, if so, use the following code
if ( $query_parent_products->have_posts() ) :
while ( $query_parent_products->have_posts() ) {
$query_parent_products->the_post();
// your post specific logic here
if ( get_the_ID() == 116 ) {
_e ('my ID is 116', 'theme_domain');
} else {
the_title();
}
}
endif;