SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    8007, 7724, 7897, 7952, 7959, 7972, 7974, 
    8009, 8010, 7948, 7949, 7953, 7962, 
    7964, 7968, 8005, 8013, 7231, 7249, 
    7391, 7947, 7955, 7957, 7958, 7975, 
    7992, 7024, 7355, 7893, 7954, 7970, 
    7977, 7196, 7350, 8080, 7227, 7324, 
    7500, 7956, 8006, 7022, 7080, 7191, 
    7250, 7320, 7340, 7352, 7888, 8110, 
    8192, 8364, 7021, 7192, 7256, 7506, 
    7850, 7230, 7319, 7343, 7386, 7900, 
    8214, 7189, 7226, 7348, 7356, 7390, 
    7965, 7232, 7237, 7344, 7383, 7389, 
    7887, 7894, 8207, 9909, 7193, 7262, 
    8069
  ) 
  AND status = "A" 
  AND storefront_id IN (1, 0)

Query time 0.00091

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "0.35"
    },
    "table": {
      "table_name": "cscart_ab__video_gallery",
      "access_type": "ref",
      "possible_keys": [
        "status",
        "product_id"
      ],
      "key": "status",
      "used_key_parts": [
        "status"
      ],
      "key_length": "3",
      "ref": [
        "const"
      ],
      "rows_examined_per_scan": 1,
      "rows_produced_per_join": 1,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "0.25",
        "eval_cost": "0.10",
        "prefix_cost": "0.35",
        "data_read_per_join": "96"
      },
      "used_columns": [
        "video_id",
        "product_id",
        "status",
        "storefront_id"
      ],
      "attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_ab__video_gallery`.`product_id` in (8007,7724,7897,7952,7959,7972,7974,8009,8010,7948,7949,7953,7962,7964,7968,8005,8013,7231,7249,7391,7947,7955,7957,7958,7975,7992,7024,7355,7893,7954,7970,7977,7196,7350,8080,7227,7324,7500,7956,8006,7022,7080,7191,7250,7320,7340,7352,7888,8110,8192,8364,7021,7192,7256,7506,7850,7230,7319,7343,7386,7900,8214,7189,7226,7348,7356,7390,7965,7232,7237,7344,7383,7389,7887,7894,8207,9909,7193,7262,8069)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_ab__video_gallery`.`storefront_id` in (1,0)))"
    }
  }
}