SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    9975, 9976, 9977, 9978, 9979, 9876, 9877, 
    9878, 9880, 9881, 9882, 9883, 9885, 
    9886, 9888, 9889, 9890, 9891, 9892, 
    9893, 9894, 9895, 9896, 9897, 9899, 
    9900, 9901, 9903, 9838, 9839, 9840, 
    9841, 9842, 9843, 9844, 9845, 9846, 
    9847, 9848, 9849, 9850, 9851, 9852, 
    9853, 9854, 9855, 9856, 9857, 9858, 
    9859, 9860, 9861, 9862, 9863, 9814, 
    9815, 9816, 9817, 9818, 9820, 9821, 
    9822, 9823, 9824
  ) 
  AND status = "A" 
  AND storefront_id IN (1, 0)

Query time 0.00101

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_ab__video_gallery",
      "access_type": "ALL",
      "possible_keys": ["status", "product_id"],
      "rows": 77,
      "filtered": 83.11688232,
      "attached_condition": "cscart_ab__video_gallery.product_id in (9975,9976,9977,9978,9979,9876,9877,9878,9880,9881,9882,9883,9885,9886,9888,9889,9890,9891,9892,9893,9894,9895,9896,9897,9899,9900,9901,9903,9838,9839,9840,9841,9842,9843,9844,9845,9846,9847,9848,9849,9850,9851,9852,9853,9854,9855,9856,9857,9858,9859,9860,9861,9862,9863,9814,9815,9816,9817,9818,9820,9821,9822,9823,9824) and cscart_ab__video_gallery.`status` = 'A' and cscart_ab__video_gallery.storefront_id in (1,0)"
    }
  }
}