SELECT 
  pfv.feature_id, 
  pfv.product_id, 
  pfv.variant_id, 
  fv.position, 
  fvd.variant 
FROM 
  cscart_product_features_values AS pfv 
  INNER JOIN cscart_product_feature_variants AS fv ON pfv.feature_id = fv.feature_id 
  AND pfv.variant_id = fv.variant_id 
  INNER JOIN cscart_product_feature_variant_descriptions AS fvd ON pfv.variant_id = fvd.variant_id 
  AND fvd.lang_code = 'en' 
WHERE 
  pfv.feature_id IN (
    637, 636, 647, 646, 623, 622, 626, 553, 
    625, 624, 627, 628, 595, 641
  ) 
  AND pfv.product_id IN (
    13176, 13162, 13169, 13232, 13225, 13190, 
    13183, 13239, 13204, 13197, 13246, 
    13218, 13211, 13253, 1154, 3315, 3318, 
    3687, 5076, 4691, 3071, 513, 3505
  ) 
  AND pfv.lang_code = 'en'

Query time 0.00520

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "166.17"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "pfv",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "variant_id",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "feature_id",
            "product_id"
          ],
          "key_length": "6",
          "rows_examined_per_scan": 322,
          "rows_produced_per_join": 175,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "54.23",
            "eval_cost": "17.54",
            "prefix_cost": "71.77",
            "data_read_per_join": "135K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ],
          "attached_condition": "((`test2_gaseus`.`pfv`.`feature_id` in (637,636,647,646,623,622,626,553,625,624,627,628,595,641)) and (`test2_gaseus`.`pfv`.`product_id` in (13176,13162,13169,13232,13225,13190,13183,13239,13204,13197,13246,13218,13211,13253,1154,3315,3318,3687,5076,4691,3071,513,3505)) and (`test2_gaseus`.`pfv`.`lang_code` = 'en'))"
        }
      },
      {
        "table": {
          "table_name": "fv",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY",
            "feature_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id"
          ],
          "key_length": "3",
          "ref": [
            "test2_gaseus.pfv.variant_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 94,
          "filtered": "53.79",
          "cost_info": {
            "read_cost": "43.84",
            "eval_cost": "9.43",
            "prefix_cost": "133.15",
            "data_read_per_join": "107K"
          },
          "used_columns": [
            "variant_id",
            "feature_id",
            "position"
          ],
          "attached_condition": "(`test2_gaseus`.`fv`.`feature_id` = `test2_gaseus`.`pfv`.`feature_id`)"
        }
      },
      {
        "table": {
          "table_name": "fvd",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id",
            "lang_code"
          ],
          "key_length": "9",
          "ref": [
            "test2_gaseus.pfv.variant_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 94,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "23.58",
            "eval_cost": "9.43",
            "prefix_cost": "166.17",
            "data_read_per_join": "294K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id position variant
553 513 1912 1 up to 5.0 (laboratory gases / laser gases)
553 1154 1973 1 up to 4.5 (technical gases)
553 3071 1973 1 up to 4.5 (technical gases)
553 3315 1973 1 up to 4.5 (technical gases)
553 3318 1973 1 up to 4.5 (technical gases)
553 3505 1912 1 up to 5.0 (laboratory gases / laser gases)
553 3687 1973 1 up to 4.5 (technical gases)
553 4691 1973 1 up to 4.5 (technical gases)
553 5076 1973 1 up to 4.5 (technical gases)
553 13162 1973 1 up to 4.5 (technical gases)
553 13169 1973 1 up to 4.5 (technical gases)
553 13176 1973 1 up to 4.5 (technical gases)
553 13183 1973 1 up to 4.5 (technical gases)
553 13190 1973 1 up to 4.5 (technical gases)
553 13197 1973 1 up to 4.5 (technical gases)
553 13204 1973 1 up to 4.5 (technical gases)
553 13211 1973 1 up to 4.5 (technical gases)
553 13218 1973 1 up to 4.5 (technical gases)
553 13225 1973 1 up to 4.5 (technical gases)
553 13232 1973 1 up to 4.5 (technical gases)
553 13239 1973 1 up to 4.5 (technical gases)
553 13246 1973 1 up to 4.5 (technical gases)
553 13253 1973 1 up to 4.5 (technical gases)
595 513 1789 0 Argon (Ar)
595 1154 1905 0 Nitrogen (N2)
595 3071 1905 0 Nitrogen (N2)
595 3315 1941 0 Tracer gases (mixture)
595 3318 1905 0 Nitrogen (N2)
595 3505 1930 0 Synthetic air (mixture)
595 3687 1789 0 Argon (Ar)
595 4691 1904 0 Oxygen (O2)
595 5076 1900 0 Hydrogen (H2)
595 13162 1904 0 Oxygen (O2)
595 13169 1904 0 Oxygen (O2)
595 13176 1904 0 Oxygen (O2)
595 13183 1904 0 Oxygen (O2)
595 13190 1904 0 Oxygen (O2)
595 13197 1904 0 Oxygen (O2)
595 13204 1904 0 Oxygen (O2)
595 13211 1904 0 Oxygen (O2)
595 13218 1904 0 Oxygen (O2)
595 13225 1904 0 Oxygen (O2)
595 13232 1904 0 Oxygen (O2)
595 13239 1904 0 Oxygen (O2)
595 13246 1904 0 Oxygen (O2)
595 13253 1904 0 Oxygen (O2)
622 513 2325 0 DIN 477-1 No. 6 (W 21.8 x 1/14 RH)
622 1154 1946 0 DIN 477-1 No. 10 (W 24.32 x 1/14 RH)
622 3071 1946 0 DIN 477-1 No. 10 (W 24.32 x 1/14 RH)
622 3315 1942 0 DIN 477-1 No. 14 (M 19 x 1.5 LH)
622 3318 1946 0 DIN 477-1 No. 10 (W 24.32 x 1/14 RH)
622 3505 2293 0 External thread G3/8" RHk according to EN 560
622 3687 2325 0 DIN 477-1 No. 6 (W 21.8 x 1/14 RH)
622 4691 1945 0 DIN 477-1 No. 9 (G 3/4 RH)
622 5076 1937 0 DIN 477-1 No. 1 (W 21.80 x 1/14 LH)
622 13162 2497 0 M 24×1.5 RH
622 13169 2497 0 M 24×1.5 RH
622 13176 2497 0 M 24×1.5 RH
622 13183 2497 0 M 24×1.5 RH
622 13190 2497 0 M 24×1.5 RH
622 13197 2497 0 M 24×1.5 RH
622 13204 2497 0 M 24×1.5 RH
622 13211 2497 0 M 24×1.5 RH
622 13218 2497 0 M 24×1.5 RH
622 13225 2497 0 M 24×1.5 RH
622 13232 2497 0 M 24×1.5 RH
622 13239 2497 0 M 24×1.5 RH
622 13246 2497 0 M 24×1.5 RH
622 13253 2497 0 M 24×1.5 RH
623 513 2083 0 External thread G3/8" RHk according to EN 560
623 1154 2082 0 Hose nozzle G3/8" RHk x 9 mm
623 3071 2082 0 Hose nozzle G3/8" RHk x 9 mm
623 3315 1983 0 G 3/8 LH x 9 mm (hose grommet)
623 3318 1975 0 G 1/4 RH x 6 mm (hose grommet)
623 3505 2083 0 External thread G3/8" RHk according to EN 560
623 3687 1975 0 G 1/4 RH x 6 mm (hose grommet)
623 4691 2082 0 Hose nozzle G3/8" RHk x 9 mm
623 5076 1983 0 G 3/8 LH x 9 mm (hose grommet)
623 13162 2541 0 G 3/8" × 10 mm
623 13169 2501 0 G 3/4" × 18 mm
623 13176 2501 0 G 3/4" × 18 mm
623 13183 2501 0 G 3/4" × 18 mm
623 13190 2501 0 G 3/4" × 18 mm
623 13197 2501 0 G 3/4" × 18 mm
623 13204 2501 0 G 3/4" × 18 mm
623 13211 2501 0 G 3/4" × 18 mm
623 13218 2501 0 G 3/4" × 18 mm
623 13225 2541 0 G 3/8" × 10 mm
623 13232 2501 0 G 3/4" × 18 mm
623 13239 2501 0 G 3/4" × 18 mm
623 13246 2501 0 G 3/4" × 18 mm
623 13253 2501 0 G 3/4" × 18 mm
624 513 1705 0 200
624 1154 1705 0 200
624 3071 1705 0 200
624 3315 1705 0 200
624 3318 1705 0 200
624 3505 1705 0 200
624 3687 1705 0 200
624 4691 1705 0 200
624 5076 1705 0 200
624 13162 1803 0 300
624 13169 1803 0 300
624 13176 1803 0 300
624 13183 1803 0 300
624 13190 1803 0 300
624 13197 1803 0 300
624 13204 1803 0 300
624 13211 1803 0 300
624 13218 1803 0 300
624 13225 1803 0 300
624 13232 1803 0 300
624 13239 1803 0 300
624 13246 1803 0 300
624 13253 1803 0 300
625 513 2364 0 60,00
625 1154 2122 0 10
625 3071 2362 0 40,00
625 3315 2341 0 1,50
625 3318 2334 0 10,00
625 3505 2364 0 60,00
625 3687 2339 0 4,50
625 4691 2337 0 20,00
625 5076 2339 0 4,50
625 13162 2122 0 10
625 13169 2123 0 20
625 13176 2123 0 20
625 13183 2147 0 28
625 13190 2147 0 28
625 13197 2123 0 20
625 13204 2123 0 20
625 13211 2147 0 28
625 13218 2147 0 28
625 13225 2122 0 10
625 13232 2123 0 20
625 13239 2124 0 40
625 13246 2123 0 20
625 13253 2124 0 40
626 513 1727 0 140
626 1154 1706 0 48
626 3071 1723 0 120
626 3315 2343 0 n/a
626 3318 1706 0 48
626 3505 1727 0 140
626 3687 2021 0 0,3
626 4691 1721 0 75
626 5076 2020 0 1,92
626 13162 2043 0 50
626 13169 1721 0 75
626 13176 1721 0 75
626 13183 1723 0 120
626 13190 1723 0 120
626 13197 1879 0 170
626 13204 1879 0 170
626 13211 1829 0 250
626 13218 1829 0 250
626 13225 2043 0 50
626 13232 1721 0 75
626 13239 1723 0 120
626 13246 1879 0 170
626 13253 1829 0 250
627 513 1659 1 Brass
627 1154 1659 1 Brass
627 3071 1659 1 Brass
627 3315 1659 1 Brass
627 3318 1659 1 Brass
627 3505 1659 1 Brass
627 3687 1659 1 Brass
627 4691 1659 1 Brass
627 5076 1659 1 Brass
627 13162 1659 1 Brass
627 13169 1659 1 Brass
627 13176 1659 1 Brass
627 13183 1659 1 Brass
627 13190 1659 1 Brass
627 13197 1659 1 Brass
627 13204 1659 1 Brass
627 13211 1659 1 Brass
627 13218 1659 1 Brass
627 13225 1659 1 Brass
627 13232 1659 1 Brass
627 13239 1659 1 Brass
627 13246 1659 1 Brass
627 13253 1659 1 Brass
628 513 1660 0 Single stage
628 1154 1660 0 Single stage
628 3071 1660 0 Single stage
628 3315 1712 0 Double stage
628 3318 1660 0 Single stage
628 3505 1660 0 Single stage
628 3687 1660 0 Single stage
628 4691 1660 0 Single stage
628 5076 1660 0 Single stage
628 13162 1660 0 Single stage
628 13169 1660 0 Single stage
628 13176 1660 0 Single stage
628 13183 1660 0 Single stage
628 13190 1660 0 Single stage
628 13197 1660 0 Single stage
628 13204 1660 0 Single stage
628 13211 1660 0 Single stage
628 13218 1660 0 Single stage
628 13225 1660 0 Single stage
628 13232 1660 0 Single stage
628 13239 1660 0 Single stage
628 13246 1660 0 Single stage
628 13253 1660 0 Single stage
636 1154 2348 0 Y
636 3071 2348 0 Y
636 3315 2344 0 N
636 3318 2348 0 Y
636 3687 2348 0 Y
636 4691 2348 0 Y
636 5076 2348 0 Y
636 13162 2348 0 Y
636 13169 2348 0 Y
636 13176 2348 0 Y
636 13183 2348 0 Y
636 13190 2348 0 Y
636 13197 2348 0 Y
636 13204 2348 0 Y
636 13211 2348 0 Y
636 13218 2348 0 Y
636 13225 2348 0 Y
636 13232 2348 0 Y
636 13239 2348 0 Y
636 13246 2348 0 Y
636 13253 2348 0 Y
637 1154 2345 0 N
637 3315 2345 0 N
637 3318 2345 0 N
637 3687 2350 0 Y
637 5076 2350 0 Y
637 13162 2345 0 N
637 13169 2345 0 N
637 13176 2345 0 N
637 13183 2345 0 N
637 13190 2345 0 N
637 13197 2345 0 N
637 13204 2345 0 N
637 13211 2345 0 N
637 13218 2345 0 N
637 13225 2345 0 N
637 13232 2345 0 N
637 13239 2345 0 N
637 13246 2345 0 N
637 13253 2345 0 N
641 1154 2347 0 N
641 3315 2347 0 N
641 3318 2347 0 N
641 3687 2347 0 N
641 5076 2347 0 N
641 13162 2347 0 N
641 13169 2347 0 N
641 13176 2347 0 N
641 13183 2347 0 N
641 13190 2347 0 N
641 13197 2347 0 N
641 13204 2347 0 N
641 13211 2347 0 N
641 13218 2347 0 N
641 13225 2347 0 N
641 13232 2347 0 N
641 13239 2347 0 N
641 13246 2347 0 N
641 13253 2347 0 N
646 13162 2370 0 Contact gauge
646 13169 2370 0 Contact gauge
646 13176 2369 0 Gauge
646 13183 2370 0 Contact gauge
646 13190 2369 0 Gauge
646 13197 2370 0 Contact gauge
646 13204 2369 0 Gauge
646 13211 2370 0 Contact gauge
646 13218 2369 0 Gauge
646 13225 2370 0 Contact gauge
646 13232 2370 0 Contact gauge
646 13239 2370 0 Contact gauge
646 13246 2370 0 Contact gauge
646 13253 2370 0 Contact gauge
647 13162 2374 0 Contact gauge
647 13169 2374 0 Contact gauge
647 13176 2373 0 Gauge
647 13183 2374 0 Contact gauge
647 13190 2373 0 Gauge
647 13197 2374 0 Contact gauge
647 13204 2373 0 Gauge
647 13211 2374 0 Contact gauge
647 13218 2373 0 Gauge
647 13225 2374 0 Contact gauge
647 13232 2374 0 Contact gauge
647 13239 2374 0 Contact gauge
647 13246 2374 0 Contact gauge
647 13253 2374 0 Contact gauge