SELECT 
  product_id 
FROM 
  cscart_product_bundle_product_links 
WHERE 
  bundle_id = 2187 
  AND show_on_product_page = 'N'

Query time 0.00014

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_product_bundle_product_links ref bundle_id bundle_id 4 const 18 Using where

Result

product_id
124996
124997
124998
124999
125000
125001
125002
125003
125004
125005
125006
125007
125008
125009
125010
125011
125012
125013
125014
125015
125016
125017
125018