SELECT 
  * 
FROM 
  cscart_ec_extra_product_data 
WHERE 
  product_id IN (
    245, 238, 239, 331, 335, 339, 341, 355, 
    356, 357, 358, 359, 360, 361, 362, 363, 
    364, 365, 366, 367, 368, 369, 370, 379, 
    380, 381, 382, 383, 384, 385, 386, 387
  )

Query time 0.00032

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.70"
    },
    "table": {
      "table_name": "cscart_ec_extra_product_data",
      "access_type": "ALL",
      "rows_examined_per_scan": 13,
      "rows_produced_per_join": 6,
      "filtered": "50.00",
      "cost_info": {
        "read_cost": "3.40",
        "eval_cost": "1.30",
        "prefix_cost": "4.70",
        "data_read_per_join": "260"
      },
      "used_columns": [
        "product_id",
        "maximum_adults",
        "maximum_children",
        "maximum_room_occupancy",
        "minimum_length_of_stay",
        "maximum_length_of_stay",
        "company_id",
        "blocked_date"
      ],
      "attached_condition": "(`pankajecarter_systemfour`.`cscart_ec_extra_product_data`.`product_id` in (245,238,239,331,335,339,341,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,379,380,381,382,383,384,385,386,387))"
    }
  }
}