SELECT 
  location_id, 
  dispatch 
FROM 
  cscart_bm_locations 
WHERE 
  location_id IN (22, 6, 8, 14, 19)

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "6.72"
    },
    "table": {
      "table_name": "cscart_bm_locations",
      "access_type": "ALL",
      "possible_keys": [
        "PRIMARY"
      ],
      "rows_examined_per_scan": 22,
      "rows_produced_per_join": 5,
      "filtered": "22.73",
      "cost_info": {
        "read_cost": "5.72",
        "eval_cost": "1.00",
        "prefix_cost": "6.72",
        "data_read_per_join": "1K"
      },
      "used_columns": [
        "location_id",
        "dispatch"
      ],
      "attached_condition": "(`atulecarter_atul_demo2`.`cscart_bm_locations`.`location_id` in (22,6,8,14,19))"
    }
  }
}

Result

location_id dispatch
22 products.view
6 categories.view
8 checkout
14 companies.products
19 gift_certificates