SELECT 
  product_id, 
  group_id 
FROM 
  cscart_product_variation_group_products 
WHERE 
  group_id IN (
    143, 141, 140, 78, 77, 76, 75, 74, 73, 68, 
    67, 65, 64
  )

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "26.21"
    },
    "table": {
      "table_name": "cscart_product_variation_group_products",
      "access_type": "range",
      "possible_keys": [
        "idx_group_id"
      ],
      "key": "idx_group_id",
      "used_key_parts": [
        "group_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 51,
      "rows_produced_per_join": 51,
      "filtered": "100.00",
      "index_condition": "(`wearethehelpful_scalesta_net`.`cscart_product_variation_group_products`.`group_id` in (143,141,140,78,77,76,75,74,73,68,67,65,64))",
      "cost_info": {
        "read_cost": "21.11",
        "eval_cost": "5.10",
        "prefix_cost": "26.21",
        "data_read_per_join": "816"
      },
      "used_columns": [
        "product_id",
        "group_id"
      ]
    }
  }
}

Result

product_id group_id
1145 64
1146 64
1147 64
1148 64
1154 65
1159 65
1158 65
1161 65
1160 65
1153 65
1152 65
1151 65
1150 65
1155 65
1156 65
1157 65
1226 67
1227 67
1228 67
1229 68
1230 68
1231 68
1232 68
1233 68
1234 68
1235 68
1236 68
1237 68
1238 68
1239 68
1240 68
1258 73
1259 73
1260 73
1261 74
1262 74
1263 74
1264 75
1265 75
1266 75
1267 76
1268 76
1269 76
1270 76
1271 77
1272 77
1273 77
1274 78
1275 78
1276 78
2053 140
2054 140
2015 140
2016 140
2017 141
2018 141
2052 143
2021 143
2022 143