SELECT 
  cscart_statuses.status 
FROM 
  cscart_statuses 
  INNER JOIN cscart_status_data ON cscart_status_data.status_id = cscart_statuses.status_id 
WHERE 
  type = 'O' 
  AND (param, value) IN (
    ('payment_received', 'Y')
  )

Query time 0.00062

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "3.49"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_statuses",
          "access_type": "ALL",
          "possible_keys": [
            "PRIMARY"
          ],
          "rows_examined_per_scan": 22,
          "rows_produced_per_join": 2,
          "filtered": "10.00",
          "cost_info": {
            "read_cost": "2.50",
            "eval_cost": "0.22",
            "prefix_cost": "2.72",
            "data_read_per_join": "35"
          },
          "used_columns": [
            "status_id",
            "status",
            "type"
          ],
          "attached_condition": "(`s2cart`.`cscart_statuses`.`type` = 'O')"
        }
      },
      {
        "table": {
          "table_name": "cscart_status_data",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY",
            "inventory"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "status_id",
            "param"
          ],
          "key_length": "768",
          "ref": [
            "s2cart.cscart_statuses.status_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 0,
          "filtered": "38.64",
          "cost_info": {
            "read_cost": "0.55",
            "eval_cost": "0.08",
            "prefix_cost": "3.49",
            "data_read_per_join": "1K"
          },
          "used_columns": [
            "status_id",
            "param",
            "value"
          ],
          "attached_condition": "(`s2cart`.`cscart_status_data`.`value` = 'Y')"
        }
      }
    ]
  }
}

Result

status
P
C